package com.guoyh.pronet.repository.wmodel.home

import com.guoyh.pronet.repository.BaseRepository
import com.guoyh.pronet.service.wmodel.home.wModelArticleApi

/**
 * @CreateDate: 7/15/21 10:06 AM
 * @Author: guoyh
 * @Description: 文章远程 相关的数据
 */
class ArticleRemoteRepository : BaseRepository() {
    /**
     * 首页文章
     */
     fun getArticleList(page: Int) =
        wModelArticleApi.getList(page)

    /**
     * 首页Banner
     */
     fun getBannerList() =
        wModelArticleApi.getBannerList()


}

